package com.matrix.editor

import android.content.Context
import android.view.View
import com.matrix.editor.layer.LayerComposite
import com.matrix.editor.layer.RootEditorDelegate
import com.matrix.editor.view.CropHelper
import com.matrix.editor.view.EditorMode
import com.matrix.editor.view.FuncAndActionBarAnimHelper

/**
 * # UI element provider
 *
 * Created by lxw
 */
interface LayerViewProvider {

    fun findLayerByEditorMode(editorMode: EditorMode): View?

    fun getActivityContext(): Context

    fun getFuncAndActionBarAnimHelper(): FuncAndActionBarAnimHelper

    fun getCropHelper(): CropHelper

    fun getRootEditorDelegate(): RootEditorDelegate

    fun getLayerCompositeView(): LayerComposite

    fun getSetupEditorId(): String

    fun getResultEditorId(): String

    fun getEditorSizeInfo(): Pair<Int, Int>

    fun getScreenSizeInfo(): Pair<Int, Int>

}